#ifndef MYBUTTON_H
#define MYBUTTON_H

#include <QPushButton>
#include <QWidget>

QT_BEGIN_NAMESPACE
class QLabel;
QT_END_NAMESPACE

class MyButton : public QPushButton{
    Q_OBJECT

public:
    MyButton(QWidget *parent = 0);
    void setMentionLabel(QLabel *mentionLabel);

protected:
    void enterEvent(QEvent *event);
    void leaveEvent(QEvent *event);

private:
    QLabel *mentionLabel;
};

#endif
